[INFO] fetching crate cassandra-cpp-sys 0.12.2...
[INFO] checking cassandra-cpp-sys-0.12.2 against master#f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 for pr-83312
[INFO] extracting crate cassandra-cpp-sys 0.12.2 into /workspace/builds/worker-6/source
[INFO] validating manifest of crates.io crate cassandra-cpp-sys 0.12.2 on toolchain f5f33ec0e0455eefa72fc5567eb1280a4d5ee206
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cassandra-cpp-sys 0.12.2
[INFO] finished tweaking crates.io crate cassandra-cpp-sys 0.12.2
[INFO] tweaked toml for crates.io crate cassandra-cpp-sys 0.12.2 written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate crates.io crate cassandra-cpp-sys 0.12.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f1f9f1b9a2a46273f91adbc0da4497f9261286c5fd21ba916a649536a42cb41
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6f1f9f1b9a2a46273f91adbc0da4497f9261286c5fd21ba916a649536a42cb41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f1f9f1b9a2a46273f91adbc0da4497f9261286c5fd21ba916a649536a42cb41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f1f9f1b9a2a46273f91adbc0da4497f9261286c5fd21ba916a649536a42cb41", kill_on_drop: false }`
[INFO] [stdout] 6f1f9f1b9a2a46273f91adbc0da4497f9261286c5fd21ba916a649536a42cb41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 453950b4f6d668fa48883ab3f772923858a0e27ba20ffcf93ec4ed3c7407dc45
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "453950b4f6d668fa48883ab3f772923858a0e27ba20ffcf93ec4ed3c7407dc45", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]    Compiling cassandra-cpp-sys v0.12.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking log v0.4.11
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]  --> src/ffi_util.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Ok(try!(str::from_utf8(slice)).to_owned())
[INFO] [stdout]   |        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]  --> src/ffi_util.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Ok(try!(str::from_utf8(slice)).to_owned())
[INFO] [stdout]   |        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> examples/ssl.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut file = try!(File::open(file));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> examples/ssl.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let cert_size = try!(file.metadata()).len() as usize;
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> examples/ssl.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let byte_len = try!(file.read_to_end(&mut cert));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> examples/maps.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let result = match cass_future_error_code(future) {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/collections.rs:18:73
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 2);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/collections.rs:19:77
[INFO] [stdout]    |
[INFO] [stdout] 19 |         cass_statement_bind_string(statement, 0, CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/collections.rs:23:83
[INFO] [stdout]    |
[INFO] [stdout] 23 |             cass_collection_append_string(collection, CString::new(item).unwrap().as_ptr());
[INFO] [stdout]    |                                                       --------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                       |
[INFO] [stdout]    |                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/collections.rs:48:73
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 1);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/collections.rs:50:77
[INFO] [stdout]    |
[INFO] [stdout] 50 |         cass_statement_bind_string(statement, 0, CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc`
[INFO] [stdout]   --> examples/tuple.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let rc = cass_future_error_code(future);
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc`
[INFO] [stdout]   --> examples/tuple.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             rc => print_error(future),
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc`
[INFO] [stdout]   --> examples/ssl.rs:92:21
[INFO] [stdout]    |
[INFO] [stdout] 92 |                     rc => {
[INFO] [stdout]    |                     ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `select_from_maps`
[INFO] [stdout]   --> examples/maps.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn select_from_maps(session: &mut CassSession, key: &str) -> Result<(), CassError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc`
[INFO] [stdout]   --> examples/named_parameters.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let rc = cass_future_error_code(future);
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/maps.rs:21:73
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 2);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/maps.rs:23:77
[INFO] [stdout]    |
[INFO] [stdout] 23 |         cass_statement_bind_string(statement, 0, CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/maps.rs:27:87
[INFO] [stdout]    |
[INFO] [stdout] 27 |             cass_collection_append_string(collection, CString::new(item.key).unwrap().as_ptr());
[INFO] [stdout]    |                                                       ------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                       |
[INFO] [stdout]    |                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/maps.rs:54:73
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 1);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/maps.rs:56:77
[INFO] [stdout]    |
[INFO] [stdout] 56 |         cass_statement_bind_string(statement, 0, CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> examples/named_parameters.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let result = match cass_future_error_code(future) {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> examples/named_parameters.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let result = match connect_session(session, cluster) {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc`
[INFO] [stdout]    --> examples/named_parameters.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |             rc => {
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/named_parameters.rs:74:44
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let k = CString::new("k").unwrap().as_ptr();
[INFO] [stdout]    |                 -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/named_parameters.rs:75:44
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let b = CString::new("b").unwrap().as_ptr();
[INFO] [stdout]    |                 -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/named_parameters.rs:76:44
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let f = CString::new("f").unwrap().as_ptr();
[INFO] [stdout]    |                 -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/named_parameters.rs:77:44
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let d = CString::new("d").unwrap().as_ptr();
[INFO] [stdout]    |                 -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/named_parameters.rs:78:48
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let i32 = CString::new("i32").unwrap().as_ptr();
[INFO] [stdout]    |                   ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/named_parameters.rs:79:48
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let i64 = CString::new("i64").unwrap().as_ptr();
[INFO] [stdout]    |                   ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/named_parameters.rs:116:73
[INFO] [stdout]     |
[INFO] [stdout] 116 | ...                   CString::new("key").unwrap().as_ptr(),
[INFO] [stdout]     |                       ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/named_parameters.rs:133:103
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     cass_value_get_bool(cass_row_get_column_by_name(row, CString::new("BLN").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                          ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                          |
[INFO] [stdout]     |                                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/named_parameters.rs:135:105
[INFO] [stdout]     |
[INFO] [stdout] 135 |                     cass_value_get_double(cass_row_get_column_by_name(row, CString::new("dbl").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                            |
[INFO] [stdout]     |                                                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/named_parameters.rs:137:104
[INFO] [stdout]     |
[INFO] [stdout] 137 |                     cass_value_get_float(cass_row_get_column_by_name(row, CString::new("flt").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                           ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/named_parameters.rs:139:108
[INFO] [stdout]     |
[INFO] [stdout] 139 |                     cass_value_get_int32(cass_row_get_column_by_name(row, CString::new("\"i32\"").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                           -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/named_parameters.rs:141:104
[INFO] [stdout]     |
[INFO] [stdout] 141 |                     cass_value_get_int64(cass_row_get_column_by_name(row, CString::new("i64").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                           ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/basic.rs:25:59
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let statement = cass_statement_new(query.unwrap().as_ptr(), 6);
[INFO] [stdout]    |                                            -------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/basic.rs:27:77
[INFO] [stdout]    |
[INFO] [stdout] 27 |         cass_statement_bind_string(statement, 0, CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/basic.rs:54:73
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 1);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/ssl.rs:44:85
[INFO] [stdout]    |
[INFO] [stdout] 44 |         cass_cluster_set_contact_points(cluster, CString::new("127.0.0.1").unwrap().as_ptr());
[INFO] [stdout]    |                                                  ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/basic.rs:56:77
[INFO] [stdout]    |
[INFO] [stdout] 56 |         cass_statement_bind_string(statement, 0, CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/ssl.rs:67:81
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                                    ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                    |
[INFO] [stdout]    |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/ssl.rs:80:108
[INFO] [stdout]    |
[INFO] [stdout] 80 | ...                   CString::new("keyspace_name").unwrap().as_ptr());
[INFO] [stdout]    |                       -------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> examples/tuple.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut session = &mut *cass_session_new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/uuid.rs:23:93
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let statement: *mut CassStatement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 3);
[INFO] [stdout]    |                                                                ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                                |
[INFO] [stdout]    |                                                                this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/uuid.rs:25:77
[INFO] [stdout]    |
[INFO] [stdout] 25 |         cass_statement_bind_string(statement, 0, CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/uuid.rs:27:79
[INFO] [stdout]    |
[INFO] [stdout] 27 |         cass_statement_bind_string(statement, 2, CString::new(entry).unwrap().as_ptr());
[INFO] [stdout]    |                                                  ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/uuid.rs:54:73
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 1);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/uuid.rs:56:77
[INFO] [stdout]    |
[INFO] [stdout] 56 |         cass_statement_bind_string(statement, 0, CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/uuid.rs:75:75
[INFO] [stdout]    |
[INFO] [stdout] 75 | ...                   &mut CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]    |                            -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/tuple.rs:21:79
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let statement = &mut *cass_statement_new(CString::new(query).unwrap().as_ptr(), 2);
[INFO] [stdout]    |                                                  ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/tuple.rs:54:73
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/tuple.rs:68:97
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     let id_value = cass_row_get_column_by_name(row, CString::new("id").unwrap().as_ptr());
[INFO] [stdout]    |                                                                     --------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                                     |
[INFO] [stdout]    |                                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/tuple.rs:69:101
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     let item_value = cass_row_get_column_by_name(row, CString::new("item").unwrap().as_ptr());
[INFO] [stdout]    |                                                                       ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                                       |
[INFO] [stdout]    |                                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> examples/simple.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let result = match cass_future_error_code(connect_future) {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc`
[INFO] [stdout]   --> examples/simple.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |                     rc => {
[INFO] [stdout]    |                     ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc`
[INFO] [stdout]   --> examples/simple.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             rc => {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/simple.rs:18:85
[INFO] [stdout]    |
[INFO] [stdout] 18 |         cass_cluster_set_contact_points(cluster, CString::new("127.0.0.1").unwrap().as_ptr());
[INFO] [stdout]    |                                                  ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/simple.rs:27:81
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                                    ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                    |
[INFO] [stdout]    |                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/simple.rs:40:108
[INFO] [stdout]    |
[INFO] [stdout] 40 | ...                   CString::new("keyspace_name").unwrap().as_ptr());
[INFO] [stdout]    |                       -------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/udt.rs:21:73
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 2);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/udt.rs:26:110
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let keyspace_meta = cass_schema_meta_keyspace_by_name(schema_meta, CString::new("examples").unwrap().as_ptr());
[INFO] [stdout]    |                                                                            --------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/udt.rs:29:97
[INFO] [stdout]    |
[INFO] [stdout] 29 | ...                   CString::new("address").unwrap().as_ptr());
[INFO] [stdout]    |                       -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/udt.rs:32:101
[INFO] [stdout]    |
[INFO] [stdout] 32 | ...                   CString::new("phone_numbers").unwrap().as_ptr());
[INFO] [stdout]    |                       -------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/udt.rs:44:86
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   CString::new("phone1").unwrap().as_ptr(),
[INFO] [stdout]    |                       ------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/udt.rs:47:86
[INFO] [stdout]    |
[INFO] [stdout] 47 | ...                   CString::new("phone2").unwrap().as_ptr(),
[INFO] [stdout]    |                       ------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/udt.rs:54:83
[INFO] [stdout]    |
[INFO] [stdout] 54 | ...                   CString::new("street").unwrap().as_ptr(),
[INFO] [stdout]    |                       ------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/udt.rs:57:81
[INFO] [stdout]    |
[INFO] [stdout] 57 | ...                   CString::new("city").unwrap().as_ptr(),
[INFO] [stdout]    |                       ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/udt.rs:60:79
[INFO] [stdout]    |
[INFO] [stdout] 60 | ...                   CString::new("zip").unwrap().as_ptr(),
[INFO] [stdout]    |                       ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/udt.rs:62:95
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 cass_user_type_set_collection_by_name(address, CString::new("phone").unwrap().as_ptr(), phone);
[INFO] [stdout]    |                                                                ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                                |
[INFO] [stdout]    |                                                                this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/udt.rs:92:73
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/udt.rs:105:97
[INFO] [stdout]     |
[INFO] [stdout] 105 |                     let id_value = cass_row_get_column_by_name(row, CString::new("id").unwrap().as_ptr());
[INFO] [stdout]     |                                                                     --------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/udt.rs:106:107
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     let address_value = cass_row_get_column_by_name(row, CString::new("address").unwrap().as_ptr());
[INFO] [stdout]     |                                                                          -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                          |
[INFO] [stdout]     |                                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/async.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut cluster = create_cluster();
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/async.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |           let query = CString::new("INSERT INTO async (key, bln, flt, dbl, i32, i64) VALUES (?, ?, ?, ?, ?, ?);")
[INFO] [stdout]    |  _____________________-
[INFO] [stdout] 17 | |             .unwrap()
[INFO] [stdout]    | |_____________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout] 18 |               .as_ptr();
[INFO] [stdout]    |                ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/async.rs:26:87
[INFO] [stdout]    |
[INFO] [stdout] 26 | ...                   CString::new(format!("{}{}", key, i)).unwrap().as_ptr());
[INFO] [stdout]    |                       ---------------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/bind_by_name.rs:22:87
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let future = &mut *cass_session_prepare(session, CString::new(query).unwrap().as_ptr());
[INFO] [stdout]    |                                                          ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/bind_by_name.rs:45:73
[INFO] [stdout]    |
[INFO] [stdout] 45 | ...                   CString::new("key").unwrap().as_ptr(),
[INFO] [stdout]    |                       ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/bind_by_name.rs:46:71
[INFO] [stdout]    |
[INFO] [stdout] 46 | ...                   CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/bind_by_name.rs:47:82
[INFO] [stdout]    |
[INFO] [stdout] 47 |         cass_statement_bind_bool_by_name(statement, CString::new("bln").unwrap().as_ptr(), basic.bln);
[INFO] [stdout]    |                                                     ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/bind_by_name.rs:48:83
[INFO] [stdout]    |
[INFO] [stdout] 48 |         cass_statement_bind_float_by_name(statement, CString::new("flt").unwrap().as_ptr(), basic.flt);
[INFO] [stdout]    |                                                      ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                      |
[INFO] [stdout]    |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/bind_by_name.rs:49:84
[INFO] [stdout]    |
[INFO] [stdout] 49 |         cass_statement_bind_double_by_name(statement, CString::new("dbl").unwrap().as_ptr(), basic.dbl);
[INFO] [stdout]    |                                                       ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                       |
[INFO] [stdout]    |                                                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/bind_by_name.rs:50:83
[INFO] [stdout]    |
[INFO] [stdout] 50 |         cass_statement_bind_int32_by_name(statement, CString::new("i32").unwrap().as_ptr(), basic.i32);
[INFO] [stdout]    |                                                      ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                      |
[INFO] [stdout]    |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/bind_by_name.rs:51:83
[INFO] [stdout]    |
[INFO] [stdout] 51 |         cass_statement_bind_int64_by_name(statement, CString::new("i64").unwrap().as_ptr(), basic.i64);
[INFO] [stdout]    |                                                      ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                      |
[INFO] [stdout]    |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/bind_by_name.rs:81:73
[INFO] [stdout]    |
[INFO] [stdout] 81 | ...                   CString::new("key").unwrap().as_ptr(),
[INFO] [stdout]    |                       ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/bind_by_name.rs:82:71
[INFO] [stdout]    |
[INFO] [stdout] 82 | ...                   CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/bind_by_name.rs:98:103
[INFO] [stdout]    |
[INFO] [stdout] 98 |                     cass_value_get_bool(cass_row_get_column_by_name(row, CString::new("bln").unwrap().as_ptr()),
[INFO] [stdout]    |                                                                          ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                                          |
[INFO] [stdout]    |                                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/bind_by_name.rs:100:105
[INFO] [stdout]     |
[INFO] [stdout] 100 |                     cass_value_get_double(cass_row_get_column_by_name(row, CString::new("dbl").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                            |
[INFO] [stdout]     |                                                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/bind_by_name.rs:102:104
[INFO] [stdout]     |
[INFO] [stdout] 102 |                     cass_value_get_float(cass_row_get_column_by_name(row, CString::new("flt").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                           ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/bind_by_name.rs:104:104
[INFO] [stdout]     |
[INFO] [stdout] 104 |                     cass_value_get_int32(cass_row_get_column_by_name(row, CString::new("i32").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                           ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/bind_by_name.rs:106:104
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     cass_value_get_int64(cass_row_get_column_by_name(row, CString::new("i64").unwrap().as_ptr()),
[INFO] [stdout]     |                                                                           ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/prepared.rs:25:73
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 6);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/prepared.rs:27:77
[INFO] [stdout]    |
[INFO] [stdout] 27 |         cass_statement_bind_string(statement, 0, CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/prepared.rs:55:87
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let future = &mut *cass_session_prepare(session, CString::new(query).unwrap().as_ptr());
[INFO] [stdout]    |                                                          ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/prepared.rs:77:77
[INFO] [stdout]    |
[INFO] [stdout] 77 |         cass_statement_bind_string(statement, 0, CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                                                  -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/schema_meta.rs:116:104
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let keyspace_meta = cass_schema_meta_keyspace_by_name(schema_meta, CString::new(keyspace).unwrap().as_ptr());
[INFO] [stdout]     |                                                                        ------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                        |
[INFO] [stdout]     |                                                                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/schema_meta.rs:209:104
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let keyspace_meta = cass_schema_meta_keyspace_by_name(schema_meta, CString::new(keyspace).unwrap().as_ptr());
[INFO] [stdout]     |                                                                        ------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                        |
[INFO] [stdout]     |                                                                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/schema_meta.rs:212:103
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let table_meta = cass_keyspace_meta_table_by_name(keyspace_meta, CString::new(table).unwrap().as_ptr());
[INFO] [stdout]     |                                                                          ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                          |
[INFO] [stdout]     |                                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/schema_meta.rs:229:85
[INFO] [stdout]     |
[INFO] [stdout] 229 |         cass_cluster_set_contact_points(cluster, CString::new("127.0.0.1").unwrap().as_ptr());
[INFO] [stdout]     |                                                  ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/batch.rs:20:87
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let future = &mut *cass_session_prepare(session, CString::new(query).unwrap().as_ptr());
[INFO] [stdout]    |                                                          ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/batch.rs:45:86
[INFO] [stdout]    |
[INFO] [stdout] 45 |             cass_statement_bind_string(statement, 0, CString::new(pair.key).unwrap().as_ptr());
[INFO] [stdout]    |                                                      ------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                      |
[INFO] [stdout]    |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/batch.rs:46:88
[INFO] [stdout]    |
[INFO] [stdout] 46 |             cass_statement_bind_string(statement, 1, CString::new(pair.value).unwrap().as_ptr());
[INFO] [stdout]    |                                                      --------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                      |
[INFO] [stdout]    |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/batch.rs:52:79
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let statement1 = cass_statement_new(CString::new(statement1).unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                             --------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/batch.rs:59:79
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let statement2 = cass_statement_new(CString::new(statement2).unwrap().as_ptr(), 2);
[INFO] [stdout]    |                                             --------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/batch.rs:64:78
[INFO] [stdout]    |
[INFO] [stdout] 64 |         cass_statement_bind_string(statement2, 0, CString::new(key).unwrap().as_ptr());
[INFO] [stdout]    |                                                   -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/batch.rs:65:80
[INFO] [stdout]    |
[INFO] [stdout] 65 |         cass_statement_bind_string(statement2, 1, CString::new(value).unwrap().as_ptr());
[INFO] [stdout]    |                                                   ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/paging.rs:31:77
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 2);
[INFO] [stdout]    |                                                ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/paging.rs:37:91
[INFO] [stdout]    |
[INFO] [stdout] 37 |             cass_statement_bind_string(statement, 1, CString::new(i.to_string()).unwrap().as_ptr());
[INFO] [stdout]    |                                                      ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                      |
[INFO] [stdout]    |                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/paging.rs:59:73
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 0);
[INFO] [stdout]    |                                            ---------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.57s
[INFO] running `Command { std: "docker" "inspect" "453950b4f6d668fa48883ab3f772923858a0e27ba20ffcf93ec4ed3c7407dc45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "453950b4f6d668fa48883ab3f772923858a0e27ba20ffcf93ec4ed3c7407dc45", kill_on_drop: false }`
[INFO] [stdout] 453950b4f6d668fa48883ab3f772923858a0e27ba20ffcf93ec4ed3c7407dc45
